import {PATHS} from '../const'


const category = {
    namespace: 'category',
    state:{
        title: '分类'
    },
    effects: {},
    reducers: {},
    subscriptions: {
        setup({dispatch, history}) {
            const {location} = history;
            if(location.pathname !== PATHS.PAGE_CATEGORY){
                return;
            }
            console.log('history...',history.location,PATHS.PAGE_CATEGORY)
        },
    }
};
export default category;